package com.boang.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.boang.domain.Role;
import com.boang.service.RoleService;
import com.boang.mapper.RoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 13813
 * @description 针对表【role】的数据库操作Service实现
 * @createDate 2024-08-12 14:19:37
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role>
        implements RoleService {

    @Autowired
    private RoleMapper roleMapper;

    @Override
    public List<Role> getRoleListByAdminName(String name) {
        return roleMapper.selectRoleListByAdminName(name);
    }
}




